namespace PortalWeb.Quartz.Dao.Migrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class Quartz1 : DbMigration
    {
        public override void Up()
        {
            AddColumn("dbo.tb_category_model", "Name", c => c.String());
            AddColumn("dbo.tb_category_model", "CreateTime", c => c.DateTime(nullable: false));
            DropColumn("dbo.tb_category_model", "CategoryName");
            DropColumn("dbo.tb_category_model", "CategoryCreateTime");
        }
        
        public override void Down()
        {
            AddColumn("dbo.tb_category_model", "CategoryCreateTime", c => c.DateTime(nullable: false));
            AddColumn("dbo.tb_category_model", "CategoryName", c => c.String());
            DropColumn("dbo.tb_category_model", "CreateTime");
            DropColumn("dbo.tb_category_model", "Name");
        }
    }
}
